<div class="row">
	<div class="col-md-12">
		<h1 class="text-center"><?php echo __("Storico calcio") . " " . $teams["0"]['t']['country']; ?></h1>
		<h2 class="text-center"><?php echo $teams["0"]['t']['league']." ".$teams["0"]['t']['season'] ; ?></h2>
	</div>

	<?php foreach ($teams as $team) { ?>
		<div class="col-md-3">
			<div class="match" style="text-align: left">
				<a href="<?php echo $this->webroot.Configure::read("Config.lang").'/matches/'.$team['t']['country_slug'].'/'.$team['t']['league_slug'].'/'.$team['t']['season_slug'].'/'.$team['Team']['name_slug']; ?>">
			      	<img src="data:image/gif;base64,<?php echo isset($team['Team']['image'])?$team['Team']['image']:''; ?>" />
					<?php echo $team['Team']['name']; ?>		
				</a>
			</div>
		</div>	
	<?php } ?>

</div>